//
//  Extensions.h
//  jungoo
//
//  Created by Sinbad Fly on 8/14/12.
//  Copyright (c) 2012 ABOM. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UINavigationController (Extensions)

- (void)bringUpView:(UIView*)view inTarget:(id)target;
- (void)bringUpViewController:(UIViewController*)viewController;
- (void)pushViewControllerFade:(UIViewController *)viewController animated:(BOOL)animated;
- (void)popViewControllerFade:(BOOL)animated;

@end 


@interface UITableViewCell (Extension)

- (UITextField*)fieldTextWithTag:(NSInteger)tag;
- (UILabel*)titleTextWithTag:(NSInteger)tag;
- (UIButton*)buttonWithTag:(NSInteger)tag;
- (UIImageView*)imageViewWithTag:(NSInteger)tag;
- (UITextView*)textViewWithTag:(NSInteger)tag;

@end

@interface UIView (Extension)

- (void)makeBorderRound;
- (void)setBorderColor:(UIColor*)color;

@end

@interface NSString (Extension)

- (id)objectForKey:(NSString *)key;

@end